import { EnumRoomType } from "../../../../common/enum/EnumRoomType";

export interface IRoomConfig {

    /**
     * configid
     *
     *
     * @type {number}
     * @memberof IRoomConfig
     */
    id: number;
    
    /**
     * 产出参数
     *
     * @type {{ key: number, rate: nmuber }[]}
     * @memberof IRoomConfig
     */
    rate: { key: number, rate: number }[];

    /**
     * 房间类型
     *
     * @type {EnumRoomType}
     * @memberof IRoomConfig
     */
    type: EnumRoomType;

    /**
     * 开奖间隔时间
     *
     * @type {number}
     * @memberof IRoomConfig
     */
    intervalTime: number;


    /**
     * 基础奖池
     *
     * @type {number}
     * @memberof IRoomConfig
     */
    basePrize: number;

    codeNum:number;
}